package com.ruoyi.common.core.domain.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程消费记录对象 sys_course_consume
 * 
 * @author ruoyi
 * @date 2025-09-20
 */
public class AppCourseConsume extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程消费id */
    private Long courseConsumeId;

    /** 外键，关联课程表 */
    private Long courseId;

    /** 用户id */
    private Long userId;

    /** 用户昵称 */
    private String nickName;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date appointmentTime;

    /** 状态，0待签到，1已签到，2已取消 */
    private String status;

    /** 选择康复师id*/
    private String choicTheRehId;

    /** 选择康复师名字*/
    private String choicTheRehName;

    /** 主或者副康复师*/
    private String mainOrSpace;

    /** 删除状态 */
    private String delFlag;

    public void setCourseConsumeId(Long courseConsumeId) 
    {
        this.courseConsumeId = courseConsumeId;
    }

    public Long getCourseConsumeId() 
    {
        return courseConsumeId;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setAppointmentTime(Date appointmentTime) 
    {
        this.appointmentTime = appointmentTime;
    }

    public Date getAppointmentTime() 
    {
        return appointmentTime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public String getChoicTheRehId() {
        return choicTheRehId;
    }

    public void setChoicTheRehId(String choicTheRehId) {
        this.choicTheRehId = choicTheRehId;
    }

    public String getChoicTheRehName() {
        return choicTheRehName;
    }

    public void setChoicTheRehName(String choicTheRehName) {
        this.choicTheRehName = choicTheRehName;
    }

    public String getMainOrSpace() {
        return mainOrSpace;
    }

    public void setMainOrSpace(String mainOrSpace) {
        this.mainOrSpace = mainOrSpace;
    }
}
    